package org.hxyjs.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Orderrecord;
import org.hxyjs.entity.OrderrecordExample;

public interface OrderrecordMapper {
    long countByExample(OrderrecordExample example);

    int deleteByExample(OrderrecordExample example);

    int deleteByPrimaryKey(String orrno);

    int insert(Orderrecord record);

    int insertSelective(Orderrecord record);

    List<Orderrecord> selectByExample(OrderrecordExample example);

    List<Orderrecord> selectOrderByPnoWithOrderdetails(String pno);

    Orderrecord selectByPrimaryKey(String orrno);

    int updateByExampleSelective(@Param("record") Orderrecord record, @Param("example") OrderrecordExample example);

    int updateByExample(@Param("record") Orderrecord record, @Param("example") OrderrecordExample example);

    int updateByPrimaryKeySelective(Orderrecord record);

    int updateByPrimaryKey(Orderrecord record);
}